<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddColumnBook20250907 extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('book', function (Blueprint $table){
            $table->string('share_card')->default('')->comment('分享卡片');
            $table->string('share_title')->default('')->comment('分享标题');
        });

        Schema::table('user_book_chapter', function (Blueprint $table){
            $table->string('turn')->default('')->comment('轮次');
            $table->string('level')->default('')->comment('第几关');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        //
    }
}
